<template>
    <StElDynamicForm :submit-props="{method: 'put',url:RichTextUrl.update}"
                     :datas="$stStringTools.replaceb(RichTextUrl.queryByIdWithLatestContent,{id:  $route.query.id})"
                     :datas-format="(data)=>{data.content = data.latestContent; return data}"
                     :layout="[3,1,1]"
                     :options="RichTextFormOptions" :origin-prop="{inline: true,labelWidth: '100px'}">

    </StElDynamicForm>
</template>

<script>
    import RichTextMixin from '../RichTextMixin.js'
    export default {
        name: "RichTextUpdate",
        mixins: [RichTextMixin],
        data() {
            return {}
        },
        methods: {}
    }
</script>

<style scoped>

</style>